import useNavbar_ship from '../store/Navbar_ship.js';
import { onBeforeMount, onBeforeUnmount } from 'vue'
const store = useNavbar_ship()

function hidden(){
    onBeforeMount(() => {
        store.change(false)
    })

    onBeforeUnmount(() => {
        store.change(true)
    })
}
export default hidden
